package org.zhu.service_merge_v2.hystric;

import org.springframework.stereotype.Component;
import org.zhu.service_merge_v2.service.UsersCommandService;
import org.zhu.service_merge_v2.service.UsersQueryService;


/**
 * Created by zhu yingzhi on 2017/8/30.
 */
@Component
public class UsersHystric implements UsersCommandService,UsersQueryService {
    @Override
    public String sayQueryHello() {
        return "no Is not query successful";
    }

    @Override
    public String sayQueryName() {
        return "fail";
    }

    @Override
    public String sayCommandHello() {
        return "no Is not command successful";
    }

    @Override
    public String sayCommandName() {
        return "fail";
    }
}
